package com.du.proxy;

/**
 * @author : DuJiabao
 * @Date : 2021/2/3 23:27
 * @Project : spring
 * @File : null.java
 * @Desc :
 */
public class UserImpl implements User{
    private String name;

    public void method() {
        System.out.println("user's method");
    }
    
    public UserImpl() {
    }

    public UserImpl(String name) {
        this.name = name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                '}';
    }
}
